package com.emptyMe.org.service;

import com.emptyMe.org.domain.Goods;
import com.emptyMe.org.domain.Size;
import com.emptyMe.org.domain.Type;
import com.emptyMe.org.query.GoodsQuery;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IGoodsService {

    void SaveGood(Goods goods);

    PageInfo<Goods> findAllGood(GoodsQuery query);

    void DelGood(List<Long> id);

    List<Type> findType();

    List<Size>findSize(Long goodId);

    Integer sumNum(Long id);
}
